package com.yisoo.ubag.iot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * 
 * @author mmciel
 * @email 761998179@qq.com
 * @date 2021-05-03 16:48:31
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("iot_dev_rel_order")
public class DevRelOrderEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 背包id
	 */
	@TableId(type = IdType.INPUT)
	private Long bagId;
	/**
	 * 
	 */
	private Long devId;
	/**
	 * 
	 */
	private Long boxId;
	/**
	 * 0 悬空，1连接 保留字段 先不用
	 */
	private Integer bagStatus;
	/**
	 * 是否打开 0否 1是 2异常
	 */
	private Integer isUsing;
	/**
	 * 购买次数
	 */
	private Integer buyNum;
	/**
	 * 备用
	 */
	private String other;

}
